﻿#pragma once


// CDialogCodeType 对话框

class CDialogCodeType : public CDialogEx
{
	DECLARE_DYNAMIC(CDialogCodeType)

public:
	CDialogCodeType(int type, CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CDialogCodeType();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_CODETYPE };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	int m_codeType;
	CButton m_Check0;
	CButton m_Check1;
	CButton m_Check2;
	CButton m_OK;
	afx_msg void OnBnClickedCheck0();
	afx_msg void OnBnClickedCheck1();
	afx_msg void OnBnClickedCheck2();
	virtual BOOL OnInitDialog();
	virtual void OnOK();
protected:
	int getCodeType();
};
